package one.stand.response;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import one.stand.model.BaseModel;

import java.util.Date;

@Data
@ApiModel(value = "企业优惠券")
public class CompanyCouponResponse{
    @ApiModelProperty("优惠券id")
    private Long couponId;
    @ApiModelProperty("企业id")
    private Integer companyId;
    @ApiModelProperty("发放数量")
    private Integer couponNum;
    @ApiModelProperty("优惠类型1满减，2折扣")
    private Integer couponType;
    @ApiModelProperty("优惠参数")
    private Double couponParam;
    @ApiModelProperty(name="满足？？才能使用，如果为0则视为不限制")
    private Integer satisfyMoney;
    @ApiModelProperty("发放类型，1：自动发放，2手动领取，3红包发放")
    private Integer grantMode;
    @ApiModelProperty("投放对象1:所有对象")
    private Integer grantObject;
    @ApiModelProperty("发放开始时间")
    private Date grantStartTime;
    @ApiModelProperty("发放截止时间")
    private Date grantEndTime;
    @ApiModelProperty("有效开始时间")
    private Date effectiveStartTime;
    @ApiModelProperty("有效截止时间")
    private Date effectiveEndTime;
    @ApiModelProperty("领取数量")
    private Integer receiveNum;
    @ApiModelProperty("如果为空或者为0则视为全场通用")
    private Integer goodstypeId;
    @ApiModelProperty("商品类型名")
    private String goodsTypeName;
    @ApiModelProperty("企业名")
    private String companyName;
}